package org.example.user.mapper;


import org.apache.ibatis.annotations.Param;
import org.example.user.domain.SysUser;

/**
 * @description: UserDao
 * @author: e
 * @createDate: 2021/5/30
 */
public interface UserMapper {

    Integer findEmailIsRegister(String email);

    int saveUser(SysUser sysUser);

    SysUser findUserByEmailAndPassword(@Param("email") String email, @Param("password") String password);
}
